package cc.ccoke.design.factory.method;

import cc.ccoke.design.factory.entity.Animal;
import cc.ccoke.design.factory.entity.Cat;
import cc.ccoke.design.factory.entity.Dog;

/**
 * 狗工厂类
 * @author ccoke
 */
public class DogFactory implements AnimalFactory {
    @Override
    public Animal getAnimal() {
        return new Dog();
    }
}
